package org.kotboot.config

import org.kotboot.cons.ConsJwt
import org.springframework.boot.SpringBootConfiguration
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
import org.springframework.context.annotation.Bean

/**
 * @Description
 * @author jisong.sun
 * @datetime  18-4-28 上午10:32
 * @project-name kotcloud
 *
 * @Modify-by :
 */
@SpringBootConfiguration
open class ConfigJwt() {

    @Bean
    @ConfigurationProperties(prefix = "app.jwt")
    open fun getConsJwt() : ConsJwt {
        return ConsJwt()
    }
}